﻿@model Jingxing.Models.Home.IndexModel
@{
    ViewBag.Title = "警兴专业汽车美容";
}
<div class="slider">
    <div class="coin-slider">
        <div id="slider_showing">
            @foreach (var banner in Model.BannerList)
            {
                if (string.IsNullOrEmpty(banner.Link))
                { 
                    <img src="@banner.ImageLink" alt="@banner.Name" />
                }
                else 
                { 
                    <a href="@banner.Link"><img src="@banner.ImageLink" alt="@banner.Name" /></a>
                }
            }
        </div>
    </div>
    <script type="text/javascript">
        $('#slider_showing').coinslider({
            hoverPause: false,
            width: 900,
            height: 400
        });
    </script>
</div>
<div class="index_content">
    <div class="box box_first">
        
        <h3 class="box_title"><a href="/Home/TitleType?type=Introduction" class="box_title_more">更多...</a>
            公司简介</h3>
        <ul>
            @foreach (var article in Model.公司简介List)
            { 
                <li><a href="/Home/Title?id=@article.Id">@article.Title</a></li>
            }
        </ul>
    </div>
    <div class="box">
        
        <h3 class="box_title"><a href="/Home/TitleType?type=News" class="box_title_more">更多...</a>
            新闻中心</h3>
        <ul>
            @foreach (var article in Model.新闻中心List)
            { 
                <li><a href="/Home/Title?id=@article.Id">@article.Title</a></li>
            }
        </ul>
    </div>
    <div class="box">
        
        <h3 class="box_title"><a href="/Home/TitleType?type=ChainStore" class="box_title_more">更多...</a>
            加盟连锁</h3>
        <ul>
            @foreach (var article in Model.加盟连锁List)
            { 
                <li><a href="/Home/Title?id=@article.Id">@article.Title</a></li>
            }
        </ul>
    </div>
    <div class="clear">
    </div>
</div>
<div class="index_content">
    <div class="box box_first">
        
        <h3 class="box_title"><a href="/Home/TitleType?type=Product" class="box_title_more">更多...</a>
            产品项目</h3>
        <ul>
            @foreach (var article in Model.产品项目List)
            { 
                <li><a href="/Home/Title?id=@article.Id">@article.Title</a></li>
            }
        </ul>
    </div>
    <div class="box">
        
        <h3 class="box_title"><a href="/Home/TitleType?type=School" class="box_title_more">更多...</a>
            汽车美容</h3>
        <ul>
            @foreach (var article in Model.培训学校List)
            { 
                <li><a href="/Home/Title?id=@article.Id">@article.Title</a></li>
            }
        </ul>
    </div>
    <div class="box">
        
        <h3 class="box_title"><a href="/Home/TitleType?type=Store" class="box_title_more">更多...</a>
            直营店</h3>
        <ul>
            @foreach (var article in Model.直营店List)
            { 
                <li><a href="/Home/Title?id=@article.Id">@article.Title</a></li>
            }
        </ul>
    </div>
    <div class="clear">
    </div>
</div>
